module.exports.procure = {
  path: '/',
  redirect: '/home',
  //conponent: XXX  这个不需要, 平台加载首页框架
  children: [
    {
      path: 'guozi-supervise-overview-home',
      name: 'guozi-supervise-overview-home',
      title: '国资监管画像总览首页',
      component: resolve => require(['../views/guoZiSuperviseOverview/guozi-supervise-overview-home.vue'], resolve)
    },
    {
      path: 'san-zhong-yi-da-home',
      name: 'san-zhong-yi-da-home',
      title: '三重一大首页',
      component: resolve => require(['../views/sanZhongYiDa/san-zhong-yi-da-home.vue'], resolve)
    },
    {
      path: 'procure-supervise-home',
      name: 'procure-supervise-home',
      title: '采购监管首页',
      component: resolve => require(['../views/procure-supervise-home.vue'], resolve)
    },
    {
      path: 'data-quality-home',
      name: 'data-quality-home',
      title: '数据质量月报',
      meta: { noLimit: true, isCustomizeLogin: true },
      component: resolve => require(['../views/dataQuality/home.vue'], resolve)
    },
    {
      path: 'employ-tolly-home',
      name: 'employ-tolly-home',
      title: '聘用第三方服务机构首页',
      component: resolve => require(['../views/employTolly/employ-tolly-home.vue'], resolve)
    },
    {
      path: 'procure-expert-score-home',
      name: 'procure-expert-score-home',
      title: '采购专家评分',
      component: resolve => require(['../views/procureExpertScore/procure-expert-score-home.vue'], resolve)
    },
    {
      path: 'purchase-info',
      icon: 'compose',
      name: 'purchase-info',
      title: '采购信息',
      component: resolve => {
        require(['../views/superviseInfo/purchase-info.vue'], resolve)
      }
    },
    {
      path: 'oeos-home',
      name: 'oeos-home',
      title: '一企一屏首页',
      component: resolve => require(['../views/OEOS/index.vue'], resolve)
    },
    // 规则库维护
    {
      path: 'rule-base',
      icon: 'compose',
      name: 'rule-base',
      title: '规则库维护',
      component: resolve => {
        require(['../views/ruleBaseManagement/RuleBase.vue'], resolve)
      }
    },
    // 规则库列表
    {
      path: 'rule-list',
      icon: 'compose',
      name: 'rule-list',
      title: '规则库维护',
      component: resolve => {
        require(['../views/ruleBaseManagement/RuleList.vue'], resolve)
      }
    },
    {
      path: 'subject-info',
      icon: 'compose',
      name: 'subject-info',
      title: '标的信息',
      component: resolve => {
        require(['../views/superviseInfo/subject-info.vue'], resolve)
      }
    },
    {
      path: 'offer-supplier',
      icon: 'compose',
      name: 'offer-supplier',
      title: '供应商报价',
      component: resolve => {
        require(['../views/superviseInfo/offer-supplier.vue'], resolve)
      }
    },
    {
      path: 'contract-info',
      icon: 'compose',
      name: 'contract-info',
      title: '合同信息',
      component: resolve => {
        require(['../views/superviseInfo/contract-info.vue'], resolve)
      }
    },
    {
      path: 'buyer-info',
      icon: 'compose',
      name: 'buyer-info',
      title: '买方信息',
      component: resolve => {
        require(['../views/superviseInfo/buyer-info.vue'], resolve)
      }
    },
    {
      path: 'seller-info',
      icon: 'compose',
      name: 'seller-info',
      title: '卖方信息',
      component: resolve => {
        require(['../views/superviseInfo/seller-info.vue'], resolve)
      }
    },
    {
      path: 'performance-info',
      icon: 'compose',
      name: 'performance-info',
      title: '卖方信息',
      component: resolve => {
        require(['../views/superviseInfo/performance-info.vue'], resolve)
      }
    },
    {
      path: 'invoice-payment',
      icon: 'compose',
      name: 'invoice-payment',
      title: '发票付款',
      component: resolve => {
        require(['../views/superviseInfo/invoice-payment.vue'], resolve)
      }
    },
    {
      path: 'abnormal-data',
      icon: 'compose',
      name: 'abnormal-data',
      title: '异常数据',
      component: resolve => {
        require(['../views/abnormalData/index'], resolve)
      }
    },
    {
      path: 'user-manage',
      icon: 'compose',
      name: 'user-manage',
      title: '用户管理',
      component: resolve => {
        require(['../views/user-manage/index'], resolve)
      }
    },
    {
      path: 'dispatch-config',
      icon: 'compose',
      name: 'dispatch-config',
      title: '调度配置',
      component: resolve => {
        require(['../views/dispatch-config/index'], resolve)
      }
    },
    {
      path: 'detailPage',
      icon: 'detailPage',
      name: 'detailPage',
      title: '异常数据详情',
      component: resolve => {
        require(['../views/user-manage/index'], resolve)
      }
    },
    {
      path: 'unhandled',
      icon: 'compose',
      name: 'unhandled',
      title: '待办',
      component: resolve => {
        require(['../views/approvalCenter/unhandled'], resolve)
      }
    },
    {
      path: 'processed',
      icon: 'compose',
      name: 'processed',
      title: '已办',
      component: resolve => {
        require(['../views/approvalCenter/processed'], resolve)
      }
    }
  ]
}
module.exports.overview = {
  path: '/overview',
  icon: 'overview',
  name: 'home_index',//这个路由名字不要改, 否则可能导致空白页面.
  title: '门户',
  component: resolve => {
    require(['../views/overview/index'], resolve)
  }
}
